/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
//import com.jcds.common.utils.Constants;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class PaperRecordVO {
    private final int courseId;
    @NotNull
    private final String courseName;
    @NotNull
    private final String createTime;
    @NotNull
    private final Object examId;
    @NotNull
    private final Object examName;
    private final int grade;
    @NotNull
    private final String gradeName;
    private final int paperId;
    @NotNull
    private final String paperName;

    public PaperRecordVO(int i2, @NotNull String courseName, @NotNull String createTime, @NotNull Object examId, @NotNull Object examName, int i3, @NotNull String gradeName, int i4, @NotNull String paperName) {
        Intrinsics.checkNotNullParameter(courseName, "courseName");
        Intrinsics.checkNotNullParameter(createTime, "createTime");
        Intrinsics.checkNotNullParameter(examId, "examId");
        Intrinsics.checkNotNullParameter(examName, "examName");
        Intrinsics.checkNotNullParameter(gradeName, "gradeName");
        Intrinsics.checkNotNullParameter(paperName, "paperName");
        this.courseId = i2;
        this.courseName = courseName;
        this.createTime = createTime;
        this.examId = examId;
        this.examName = examName;
        this.grade = i3;
        this.gradeName = gradeName;
        this.paperId = i4;
        this.paperName = paperName;
    }

    public final int component1() {
        return this.courseId;
    }

    @NotNull
    public final String component2() {
        return this.courseName;
    }

    @NotNull
    public final String component3() {
        return this.createTime;
    }

    @NotNull
    public final Object component4() {
        return this.examId;
    }

    @NotNull
    public final Object component5() {
        return this.examName;
    }

    public final int component6() {
        return this.grade;
    }

    @NotNull
    public final String component7() {
        return this.gradeName;
    }

    public final int component8() {
        return this.paperId;
    }

    @NotNull
    public final String component9() {
        return this.paperName;
    }

    @NotNull
    public final PaperRecordVO copy(int i2, @NotNull String courseName, @NotNull String createTime, @NotNull Object examId, @NotNull Object examName, int i3, @NotNull String gradeName, int i4, @NotNull String paperName) {
        Intrinsics.checkNotNullParameter(courseName, "courseName");
        Intrinsics.checkNotNullParameter(createTime, "createTime");
        Intrinsics.checkNotNullParameter(examId, "examId");
        Intrinsics.checkNotNullParameter(examName, "examName");
        Intrinsics.checkNotNullParameter(gradeName, "gradeName");
        Intrinsics.checkNotNullParameter(paperName, "paperName");
        return new PaperRecordVO(i2, courseName, createTime, examId, examName, i3, gradeName, i4, paperName);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PaperRecordVO)) {
            return false;
        }
        PaperRecordVO paperRecordVO = (PaperRecordVO) obj;
        return this.courseId == paperRecordVO.courseId && Intrinsics.areEqual(this.courseName, paperRecordVO.courseName) && Intrinsics.areEqual(this.createTime, paperRecordVO.createTime) && Intrinsics.areEqual(this.examId, paperRecordVO.examId) && Intrinsics.areEqual(this.examName, paperRecordVO.examName) && this.grade == paperRecordVO.grade && Intrinsics.areEqual(this.gradeName, paperRecordVO.gradeName) && this.paperId == paperRecordVO.paperId && Intrinsics.areEqual(this.paperName, paperRecordVO.paperName);
    }

    public final int getCourseId() {
        return this.courseId;
    }

    @NotNull
    public final String getCourseName() {
        return this.courseName;
    }

    @NotNull
    public final String getCreateTime() {
        return this.createTime;
    }

    @NotNull
    public final Object getExamId() {
        return this.examId;
    }

    @NotNull
    public final Object getExamName() {
        return this.examName;
    }

    public final int getGrade() {
        return this.grade;
    }

    @NotNull
    public final String getGradeName() {
        return this.gradeName;
    }

    public final int getPaperId() {
        return this.paperId;
    }

    @NotNull
    public final String getPaperName() {
        return this.paperName;
    }

    public int hashCode() {
        return (((((((((((((((this.courseId * 31) + this.courseName.hashCode()) * 31) + this.createTime.hashCode()) * 31) + this.examId.hashCode()) * 31) + this.examName.hashCode()) * 31) + this.grade) * 31) + this.gradeName.hashCode()) * 31) + this.paperId) * 31) + this.paperName.hashCode();
    }

    @NotNull
    public String toString() {
        return "PaperRecordVO(courseId=" + this.courseId + ", courseName=" + this.courseName + ", createTime=" + this.createTime + ", examId=" + this.examId + ", examName=" + this.examName + ", grade=" + this.grade + ", gradeName=" + this.gradeName + ", paperId=" + this.paperId + ", paperName=" + this.paperName + ')';
    }
}